package cn.walls1717.wallsmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.walls1717.wallsmall.common.utils.PageUtils;
import cn.walls1717.wallsmall.order.entity.OrderItemEntity;

import java.util.List;
import java.util.Map;

/**
 * 订单项信息
 *
 * @author walls1717
 * @email walls1717@163.com
 * @date 2022-10-21 13:23:17
 */
public interface OrderItemService extends IService<OrderItemEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据orderSn查询所有订单项
     *
     * @param orderSn orderSn
     * @return 订单项集合
     */
    List<OrderItemEntity> listByOrderSn(String orderSn);
}

